package com.example.factory.api.dto.form;

import com.example.factory.api.dto.PagingRequest;
import com.example.factory.core.repository.query.DepartmentListQueryParams;

/**
 * @author Lei Tao
 */
public class DtoQueryDepartmentListForm extends PagingRequest implements DepartmentListQueryParams {

    private String guid;

    private String departmentName;

    @Override
    public String departmentGuid() {
        return this.guid;
    }

    @Override
    public String name() {
        return this.departmentName;
    }
    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }
}
